package com.xhwl.centiotdata.service.cent;

import com.xhwl.common.pojo.cent.sdata.Enterprise;
import feign.Param;
import feign.RequestLine;
import org.springframework.cloud.openfeign.FeignClient;

/**
 * @Author: luyi
 * @Description:
 * @Date: Create in 19:18 2021/12/15
 */
@FeignClient(name = "cent-data-core")
public interface IEnterpriseCentService {

    /**
     * 根据id查询
     *
     * @param id
     * @return
     */
    @RequestLine(value = "POST /enterprise-service/find-by-id")
    Enterprise findById(@Param("id") Integer id);

}
